home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
UTILITIE
/
CONVERSI
/
1396.ZIP
/
CASEFIX.ARC
/
CASEFIX.DOC
< prev
next >
Wrap
Text File
|
1988-03-17
|
6KB
|
140 lines
CaseFix Utility: A Case Conversion Tool for PC's and Compatibles:
=================================================================
Version 1.0
Copyright D.J. Meyer 1988
All rights reserved
-----------------------------------------------------------------
This program is designed to help people who need to "case
convert" a document. That is, to convert a text file to all
uppercase letters, lowercase letters, punctuation or "Mail"
delimited case files, as defined below. The program works with
ASCII text files, up to 255 characters wide. If you are working
with an application that does not use ASCII files, try to export
your file from your application to an ASCII text file. You can
then convert the file and import it back into your application
program. Most word-processors, database and spreadsheet
applications have an ASCII import/export facility.
To Use CaseFix:
---------------
1. The file to be converted should be given a .TXT extension. The
program will only READ from this file. A new file with the
same file name and an extension of .FIX will be generated.
This way you can go back to your original file if you need to.
2. Start the program by entering CASEFIX. You will be prompted
for the file name (up to 10 characters including drive
specifier but with no extension) and the conversion method you
wish to use.
A test file, TEST.TXT has been provided. Give CaseFix a try on
it. You can see how the different methods work.
Types of Conversion:
--------------------
When prompted, press the first letter of the method desired,
the program will attempt to open the file you selected (fn.TXT),
and start the conversion. It will generate a new file with the
same file name you selected and an extension of .FIX (fn.FIX) as
the output file.
1. Upper
The text file is converted to entirely uppercase letters.
2. Lower
The text file is converted to entirely lowercase letters.
3. Punctuation delimited, [ . ! ? ]
This fixes sentences. The first word capitalized and
succeeding words in lower case, until a closing
punctuation mark (as listed above), is detected. The next
letter following the punctuation mark will be
capitalized.
The program will NOT fix names or proper nouns that
should be capitalized. You will need to proof the text
for these instances and make global changes. Therefore,
the program will make about 95% of the changes for a
typical written document. You will need to proof-read and
edit the output to correct for proper names, places, and
titles that should be capitalized. Things like: "God",
"John Smith", "Albany", will NOT be capitalized. When you
find these, use an editor to make global changes for
these occurrences.
4. "Mail" Delimited, [ <space> - ' * " / C <digits> ]
This can be used with mailing address databases.
Addresses can be either horizontal or vertical. This will
again do about 95% of the work.
Mail delimited will take data like:
MR. STEPHEN J. MACGUIRE 51ST STREET SAN DIEGO CA90091
and convert it to:
Mr. Stephen J. MacGuire 51St Street San Diego CA90091
|
(If you left a space here, the "A" would be lowercase.)
Anything starting a new line or preceded by a space,
period, hyphen, single or double quote, slash or asterisk
will be capitalized.
Names with "Mc", "Mac" as well as names with apostrophes
like "D'Angelo" will be capitalized. Examples include:
O'Connell, McNaire, MacKoff and Wyser-Pratte are
capitalized properly.
Any letter with a number immediately to the left or right
of it will be capitalized. (Ex: "51St" or " CA90091")
The program will NOT capitalize "DiFranco" or "DuBeau"
since it is more common to find names like "Dillon" or
"Dutton". You will need to proof-read and edit for the
former cases. Having the names in alphabetic order will
help when editing.
Be sure to proof-read for instances where these rules are
or are not appropriate. For instance, words like
"MacHine" will need to be edited, since the "H" WOULD be
capitalized when it shouldn't be, according to the "Mac"
rule above. These cases are very few though with mail
address lists.
If This Program saves you Some Time:
------------------------------------
Support the Shareware concept! To register your copy, please
send me $5 bucks (check or money) to the address below. Also send
any comments or suggestions you have about the program. Things
that seem good I'll try to incorporate in, and naturally I'll
send you a free registered copy. Help support a starving
programmer today!
-----------------------------------------------------------------
FixCase v1.0:
Copyright D.J. Meyer 1988
All Rights Reserved
Date:___/___/___
Name: _________________________________________________
Address: _________________________________________________
_________________________________________________
_________________________________________________
_________________________________________________
Comments:
D.J. Meyer
127 Troy View Lane
Williamsville, NY 14221